# include <stdio.h>

int main(int argc, char const *argv[])
{

	 /*
	 	cocks 公鸡数;
		hens母鸡数;
		chicks:小鸡数
	 */
	int cocks,hens,chicks;

	cocks=0;
while(cocks<=19)
  {
  hens=0;
  while(hens<=33)
    {
    chicks=100-cocks-hens;
       if(5*cocks+3*hens+chicks/3==100&&chicks%3==0)
 		printf("%d,%d,%d\n",cocks,hens,chicks);
    	hens=hens+1;
    }
  cocks=cocks+1;
  }


	return 0;
}


hundredchickens